package com.ruoyi.elasticsearch.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.elasticsearch.domain.Hotel;
import com.ruoyi.elasticsearch.es.domain.DeviceDTO;
import com.ruoyi.elasticsearch.vo.Pager;

public interface IDeviceService {
    boolean setStatus(String deviceId, Boolean status);

    boolean updateTags(String deviceId, String tags);
    boolean saveDeviceInfo(DeviceDTO deviceDTO);
    Pager<DeviceDTO> queryPage(Long page, Long pageSize, String deviceId, String tags, Integer state);

    void updateOnLine(String deviceId, boolean b);
}
